package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 设备对象 tb_device
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
@Data
@TableName("tb_device")
public class TbDevice
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 设备名字 */
    @Excel(name = "设备名字")
    private String deviceName;

    /** 设备唯一标识 */
    @Excel(name = "设备唯一标识")
    private String deviceIps;

    /** 是否在线 */
    @Excel(name = "是否在线")
    private Integer deviceOnline;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    private Date createTime;

    private Date updateTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isDel;

}
